PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / various artists - 1200773722127.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.25959611981 |
| 8 | fDecay=0.9707092528 |
| 9 | fVideoEchoZoom=1.00742930471 |
| 10 | fVideoEchoAlpha=0.4803817245 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.145154429827 |
| 26 | fWaveScale=0.198622236205 |
| 27 | fWaveSmoothing=0.043623538128 |
| 28 | fWaveParam=-0.132702109786 |
| 29 | fModWaveAlphaStart=0.9210159328 |
| 30 | fModWaveAlphaEnd=1.12643723922 |
| 31 | fWarpAnimSpeed=0.33990786532 |
| 32 | fWarpScale=33.7864266264 |
| 33 | fZoomExponent=1.41047440876 |
| 34 | fShader=0.195224611 |
| 35 | zoom=0.973044244868 |
| 36 | rot=0 |
| 37 | cx=0.5 |
| 38 | cy=0.5 |
| 39 | dx=0 |
| 40 | dy=0 |
| 41 | warp=0.0178609518669 |
| 42 | sx=1 |
| 43 | sy=1 |
| 44 | wave_r=0.9744087559 |
| 45 | wave_g=0.70406709592 |
| 46 | wave_b=0.939729559264 |
| 47 | wave_x=0.85136988488 |
| 48 | wave_y=0.60827993536 |
| 49 | ob_size=0.000000 |
| 50 | ob_r=0.732449828448 |
| 51 | ob_g=0.572599648 |
| 52 | ob_b=0.2903515374 |
| 53 | ob_a=1.000000 |
| 54 | ib_size=0.000000 |
| 55 | ib_r=0.187137532 |
| 56 | ib_g=0.3664822866 |
| 57 | ib_b=0.3618899622 |
| 58 | ib_a=1.000000 |
| 59 | nMotionVectorsX=64.000000 |
| 60 | nMotionVectorsY=48.000000 |
| 61 | mv_dx=-0.000187276188 |
| 62 | mv_dy=0 |
| 63 | mv_l=0.054677025 |
| 64 | mv_r=1 |
| 65 | mv_g=0.9545131712 |
| 66 | mv_b=0.10487772 |
| 67 | mv_a=0 |
| 68 | b1n=0 |
| 69 | b2n=0 |
| 70 | b3n=0 |
| 71 | b1x=1 |
| 72 | b2x=1 |
| 73 | b3x=1 |
| 74 | b1ed=0.0911365854 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=20 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=2.77401463679 |
| 83 | wavecode_0_smoothing=0.0560906686 |
| 84 | wavecode_0_r=0.71194531 |
| 85 | wavecode_0_g=0.76660903 |
| 86 | wavecode_0_b=0.4245829264 |
| 87 | wavecode_0_a=0.5750085329 |
| 88 | wavecode_0_x=0 |
| 89 | wavecode_0_y=0 |
| 90 | wave_0_per_frame1=q1 = 0.5; |
| 91 | wave_0_per_frame2=q2 = 0.5; |
| 92 | wave_0_per_frame3=q3 = 0; |
| 93 | wave_0_per_frame4=pi3 = 3.1415*2*0.3333; |
| 94 | wave_0_per_frame5=t = (q4+q5+q6)*0.005; |
| 95 | wave_0_per_frame6=c = 5; |
| 96 | wave_0_per_frame7=r = if(below(if(above(1-sin(t)*c,1),1,r),0),0,r); |
| 97 | wave_0_per_frame8=g = if(below(if(above(1-sin(t+pi3)*c,1),1,g),0),0,g); |
| 98 | wave_0_per_frame9=b = if(below(if(above(1-sin(t-pi3)*c,1),1,b),0),0,b); |
| 99 | wave_0_per_frame10=cl3 = if(below(if(above(cl3 +0.001,1),0,cl3),0),1,cl3); |
| 100 | wave_0_per_frame11=t6 = cl3; |
| 101 | wave_0_per_point1=t8 = -t8; |
| 102 | wave_0_per_point2=nd = sqrt(1-sqr((sample-0.5)*2)); |
| 103 | wave_0_per_point3=nx = sin(sample*100)*nd*0.2*(1+t8*p); |
| 104 | wave_0_per_point4=w = t5*0.4 + (t8+1)*t2*0.2; |
| 105 | wave_0_per_point5=zz = nz; |
| 106 | wave_0_per_point6=nyy = ny; |
| 107 | wave_0_per_point7=ny = cos(w)*nyy - sin(w)*zz; |
| 108 | wave_0_per_point8=q3 = q3 + 1; |
| 109 | wave_0_per_point9=yy = sin(dir)*nx + cos(dir)*ny; |
| 110 | wave_0_per_point10=zoom = 2 - sqrt(t2)*1.1; |
| 111 | wave_0_per_point11=zm = sqrt(nx*nx+ny*ny+sqr(z+d))/d; |
| 112 | wave_0_per_point12=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 113 | wave_0_per_point13=x = 0.5 + zoom*x1 + sin(time*0.1)*0.; |
| 114 | wave_0_per_point14=r = if(below(if(above(r,1),1,r),0),0,r); |
| 115 | wave_0_per_point15=g = if(below(if(above(g,1),1,g),0),0,g); |
| 116 | wave_0_per_point16=a = 0.4; |
| 117 | wavecode_1_enabled=0 |
| 118 | wavecode_1_samples=512 |
| 119 | wavecode_1_sep=20 |
| 120 | wavecode_1_bSpectrum=1 |
| 121 | wavecode_1_bUseDots=0 |
| 122 | wavecode_1_bDrawThick=1 |
| 123 | wavecode_1_bAdditive=0 |
| 124 | wavecode_1_scaling=2.9138261457 |
| 125 | wavecode_1_smoothing=0.2407265504 |
| 126 | wavecode_1_r=0.377525616 |
| 127 | wavecode_1_g=0.833788 |
| 128 | wavecode_1_b=0.750123222 |
| 129 | wavecode_1_a=1 |
| 130 | wavecode_1_x=0 |
| 131 | wavecode_1_y=0 |
| 132 | wave_1_per_frame1=t1 = q5; |
| 133 | wave_1_per_frame2=t2 = q2; |
| 134 | wave_1_per_frame3=t3 = q3; |
| 135 | wave_1_per_frame4=t4 = q4; |
| 136 | wave_1_per_frame5=t5 = q5; |
| 137 | wave_1_per_frame6=t6 = q6; |
| 138 | wave_1_per_frame7=pi3 = 3.1415*2*0.3333; |
| 139 | wave_1_per_frame8=t = (q4+q5+q6)*0.005 + 2; |
| 140 | wave_1_per_frame9=c = 5; |
| 141 | wave_1_per_frame10=r = if(below(if(above(1-sin(t)*c,1),1,r),0),0,r); |
| 142 | wave_1_per_frame11=g = if(below(if(above(1-sin(t+pi3)*c,1),1,g),0),0,g); |
| 143 | wave_1_per_frame12=b = if(below(if(above(1-sin(t-pi3)*c,1),1,b),0),0,b); |
| 144 | wave_1_per_point1=t8 = -t8; |
| 145 | wave_1_per_point2=nd = sqrt(1-sqr((sample-0.5)*2)); |
| 146 | wave_1_per_point3=nz = sample*0.4 - 0.2*(1+t8*p); |
| 147 | wave_1_per_point4=nx = sin(sample*100)*nd*0.2*(1+t8*p); |
| 148 | wave_1_per_point5=pi3 = 3.1415*2*0.3333; |
| 149 | wave_1_per_point6=t = (q4-q6)*10; |
| 150 | wave_1_per_point7=c = 2; |
| 151 | wave_1_per_point8=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 152 | wave_1_per_point9=dir = (t4-t6)*0.4 + (t1-t3)*(t8+1)*0.2; |
| 153 | wave_1_per_point10=w = t5*0.4 + (t8+1)*t2*0.2; |
| 154 | wave_1_per_point11=zz = nz; |
| 155 | wave_1_per_point12=nyy = ny; |
| 156 | wave_1_per_point13=ny = cos(w)*nyy - sin(w)*zz; |
| 157 | wave_1_per_point14=z = sin(w)*nyy + cos(w)*zz; |
| 158 | wave_1_per_point15=yy = sin(dir)*nx + cos(dir)*ny; |
| 159 | wave_1_per_point16=zoom = 2 - sqrt(t2)*1.1; |
| 160 | wave_1_per_point17=zm = sqrt(nx*nx+ny*ny+sqr(z+d))/d; |
| 161 | wave_1_per_point18=y = 0.5 + zoom*yy*0.55/zm; |
| 162 | wave_1_per_point19=a = sigmoid(-z+0.1,25); |
| 163 | wavecode_2_enabled=0 |
| 164 | wavecode_2_samples=512 |
| 165 | wavecode_2_sep=20 |
| 166 | wavecode_2_bSpectrum=1 |
| 167 | wavecode_2_bUseDots=0 |
| 168 | wavecode_2_bDrawThick=1 |
| 169 | wavecode_2_bAdditive=0 |
| 170 | wavecode_2_scaling=70.3882969121 |
| 171 | wavecode_2_smoothing=0.3772426344 |
| 172 | wavecode_2_r=0.2526778 |
| 173 | wavecode_2_g=0.633647625299 |
| 174 | wavecode_2_b=0.9983277644 |
| 175 | wavecode_2_a=0.983131537174 |
| 176 | wavecode_2_x=0 |
| 177 | wavecode_2_y=0 |
| 178 | wave_2_per_frame1=t1 = q1*0.5; |
| 179 | wave_2_per_frame2=t2 = q4; |
| 180 | wave_2_per_frame3=t3 = q3; |
| 181 | wave_2_per_frame4=t4 = q4; |
| 182 | wave_2_per_frame5=t5 = q5; |
| 183 | wave_2_per_frame6=t6 = q6; |
| 184 | wave_2_per_frame7=t7 = q12; |
| 185 | wave_2_per_frame8=t8 = q8; |
| 186 | wave_2_per_point1=t8 = -t8; |
| 187 | wave_2_per_point2=d1 = 0.15 + t8*0.01 - value1*0.1*(t8+1); |
| 188 | wave_2_per_point3=yy = sin(sample*n)*0.02*d1*(1+value2); |
| 189 | wave_2_per_point4=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy)); |
| 190 | wave_2_per_point5=x = xx + sample*(1-sample)*(value1-value2)*(yy-yyy)*d; |
| 191 | wave_2_per_point6=y = (0.5 + cos(dir1)*0.1 + cos(dir2)*0.05 + cos(dir3)*d1-0.5)*1.2 + 0.5; |
| 192 | wave_2_per_point7=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 193 | wave_2_per_point8=a = 2; |
| 194 | wave_2_per_point9=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 195 | wavecode_3_enabled=0 |
| 196 | wavecode_3_samples=512 |
| 197 | wavecode_3_sep=20 |
| 198 | wavecode_3_bSpectrum=1 |
| 199 | wavecode_3_bUseDots=0 |
| 200 | wavecode_3_bDrawThick=1 |
| 201 | wavecode_3_bAdditive=0 |
| 202 | wavecode_3_scaling=1.01466380301 |
| 203 | wavecode_3_smoothing=0.2520318 |
| 204 | wavecode_3_r=0.667102378 |
| 205 | wavecode_3_g=0.48778073 |
| 206 | wavecode_3_b=1 |
| 207 | wavecode_3_a=0.9991461225 |
| 208 | wavecode_3_x=0 |
| 209 | wavecode_3_y=0 |
| 210 | wave_3_per_frame1=t1 = q1*0.5; |
| 211 | wave_3_per_frame2=t2 = q2*0.5; |
| 212 | wave_3_per_frame3=t3 = q6*0.75; |
| 213 | wave_3_per_frame4=t4 = q4*0.75; |
| 214 | wave_3_per_frame5=t5 = q5*0.75; |
| 215 | wave_3_per_frame6=q1 = -cos(cos(t2)); |
| 216 | wave_3_per_frame7=q2 = cos(-t3); |
| 217 | wave_3_per_frame8=q3 = sin(cos(-t2)); |
| 218 | wave_3_per_frame9=q4 = sin(t3); |
| 219 | wave_3_per_point1=t8 = -t8; |
| 220 | wave_3_per_point2=pi = asin(1); |
| 221 | wave_3_per_point3=n = 80; |
| 222 | wave_3_per_point4=rd = 0.075+0.02*(t8+1)/2; |
| 223 | wave_3_per_point5=pi3 = 3.1415*2*0.3333; |
| 224 | wave_3_per_point6=zz = sin(sample*pi*n)*rd*d1; |
| 225 | wave_3_per_point7=c = 10; |
| 226 | wave_3_per_point8=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 227 | wave_3_per_point9=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 228 | wave_3_per_point10=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 229 | wave_3_per_point11=s2 = sin(t2*1+w2); |
| 230 | wave_3_per_point12=c1 = cos(t1*1+w1); |
| 231 | wave_3_per_point13=c2 = cos(t2*1+w2); |
| 232 | wave_3_per_point14=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 233 | wave_3_per_point15=na = 0.5; |
| 234 | wave_3_per_point16=zoom = 0.5*atan2(na,na+z); |
| 235 | wave_3_per_point17=x = 0.5 + zoom*x1; |
| 236 | wave_3_per_point18=a = sigmoid(-z,7)+0.; |
| 237 | shapecode_0_enabled=0 |
| 238 | shapecode_0_sides=100 |
| 239 | shapecode_0_additive=0.464842488 |
| 240 | shapecode_0_thickOutline=1 |
| 241 | shapecode_0_textured=0.029450256 |
| 242 | shapecode_0_x=0.519267582334 |
| 243 | shapecode_0_y=0.540617064704 |
| 244 | shapecode_0_rad=0.437848725171 |
| 245 | shapecode_0_ang=0.0944330726909 |
| 246 | shapecode_0_tex_ang=0.00923575053482 |
| 247 | shapecode_0_tex_zoom=0.769912762405 |
| 248 | shapecode_0_r=0.9887005 |
| 249 | shapecode_0_g=0.2922340864 |
| 250 | shapecode_0_b=0.2616374488 |
| 251 | shapecode_0_a=0.872104239393 |
| 252 | shapecode_0_r2=0.45010834 |
| 253 | shapecode_0_g2=0.50439452384 |
| 254 | shapecode_0_b2=0.23951237 |
| 255 | shapecode_0_a2=0.23713074 |
| 256 | shapecode_0_border_r=0.998201515619 |
| 257 | shapecode_0_border_g=0.996490210051 |
| 258 | shapecode_0_border_b=0.9995447296 |
| 259 | shapecode_0_border_a=0.00027492822 |
| 260 | shape_0_per_frame1=x = 0.5 + 0.07*cos(q3*0.5) + 0.131*cos(time*0.09); |
| 261 | shape_0_per_frame2=rad2 = 0.1; |
| 262 | shape_0_per_frame3=y = 0.5 + rad2*sin(ang2)*q12; |
| 263 | shape_0_per_frame4=a2 = .05; |
| 264 | shape_0_per_frame5=g2 = 0.5 + 0.5*sin(time*556+ 2); |
| 265 | shape_0_per_frame6=r = q15; |
| 266 | shape_0_per_frame7=g = q14; |
| 267 | shape_0_per_frame8=b = q13; |
| 268 | shapecode_1_enabled=0 |
| 269 | shapecode_1_sides=100 |
| 270 | shapecode_1_additive=0.5561248984 |
| 271 | shapecode_1_thickOutline=1 |
| 272 | shapecode_1_textured=0.229708224 |
| 273 | shapecode_1_x=0.545633408 |
| 274 | shapecode_1_y=0.6170021408 |
| 275 | shapecode_1_rad=0.267805777523 |
| 276 | shapecode_1_ang=0.139189367357 |
| 277 | shapecode_1_tex_ang=0.00173240641728 |
| 278 | shapecode_1_tex_zoom=0.697595919923 |
| 279 | shapecode_1_r=0.460386816 |
| 280 | shapecode_1_g=0.3607717072 |
| 281 | shapecode_1_b=0.233279204 |
| 282 | shapecode_1_a=0.99222657976 |
| 283 | shapecode_1_r2=0.351422017556 |
| 284 | shapecode_1_g2=0.2442472484 |
| 285 | shapecode_1_b2=0.4049214965 |
| 286 | shapecode_1_a2=0.0195727554 |
| 287 | shapecode_1_border_r=0.924487317939 |
| 288 | shapecode_1_border_g=0.999019136995 |
| 289 | shapecode_1_border_b=0.999933090976 |
| 290 | shapecode_1_border_a=0.0001511454 |
| 291 | shape_1_per_frame1=x = q3; |
| 292 | shape_1_per_frame2=pi = asin(1)*2; |
| 293 | shape_1_per_frame3=y = 0.5 + cos(t+pi)*0.1; |
| 294 | shape_1_per_frame4=rad = 0.4 - cos(t+pi)*0.3; |
| 295 | shape_1_per_frame5=r2 = 0.5 + 0.5*cos(time*0.1*0.885 + 4); |
| 296 | shape_1_per_frame6=g2 = 0.5 + 0.5*sin(time*0.1*0.556+ 1); |
| 297 | shape_1_per_frame7=b2 = 0.5 + 0.5*sin(time*0.1*0.638 + 3); |
| 298 | shapecode_2_enabled=0 |
| 299 | shapecode_2_sides=100 |
| 300 | shapecode_2_additive=0.027962883 |
| 301 | shapecode_2_thickOutline=1 |
| 302 | shapecode_2_textured=0 |
| 303 | shapecode_2_x=0.866716564 |
| 304 | shapecode_2_y=0.562191152 |
| 305 | shapecode_2_rad=0.958390605951 |
| 306 | shapecode_2_ang=0.001437401376 |
| 307 | shapecode_2_tex_ang=0.0125551762728 |
| 308 | shapecode_2_tex_zoom=0.740558953147 |
| 309 | shapecode_2_r=0.0873899638496 |
| 310 | shapecode_2_g=0.54467817216 |
| 311 | shapecode_2_b=0.37958909208 |
| 312 | shapecode_2_a=0.999761671 |
| 313 | shapecode_2_r2=0.0097509 |
| 314 | shapecode_2_g2=0.191344032 |
| 315 | shapecode_2_b2=0.87620871296 |
| 316 | shapecode_2_a2=0.85417252408 |
| 317 | shapecode_2_border_r=0.993953447114 |
| 318 | shapecode_2_border_g=0.99915397261 |
| 319 | shapecode_2_border_b=0.99168315328 |
| 320 | shapecode_2_border_a=0.04217724504 |
| 321 | shape_2_per_frame1=x = q2; |
| 322 | shape_2_per_frame2=y = q3- 0.4; |
| 323 | shape_2_per_frame3=g = 0.5 + 0.5*cos(time*0.01*1.063 + 2); |
| 324 | shape_2_per_frame4=b = 0.5 + 0.5*sin(time*0.01*1.054 + 1); |
| 325 | shape_2_per_frame5=r2 = 0.5 + 0.5*sin(time*0.01*1.085 + 3); |
| 326 | shape_2_per_frame6=g2 = 0.5 + 0.5*cos(time*0.01*1.056+ 1); |
| 327 | shape_2_per_frame7=b2 = 0.5 + 0.5*sin(time*0.01*1.038 + 4); |
| 328 | shapecode_3_enabled=0 |
| 329 | shapecode_3_sides=100 |
| 330 | shapecode_3_additive=0.08418825 |
| 331 | shapecode_3_thickOutline=1 |
| 332 | shapecode_3_textured=0 |
| 333 | shapecode_3_x=0.55696477695 |
| 334 | shapecode_3_y=0.576828787 |
| 335 | shapecode_3_rad=0.566749384637 |
| 336 | shapecode_3_ang=0.002472627696 |
| 337 | shapecode_3_tex_ang=0.0220409084291 |
| 338 | shapecode_3_tex_zoom=0.921424818492 |
| 339 | shapecode_3_r=0.498949916 |
| 340 | shapecode_3_g=0.0393282 |
| 341 | shapecode_3_b=0.046566 |
| 342 | shapecode_3_a=0.794627632 |
| 343 | shapecode_3_r2=0.466039456 |
| 344 | shapecode_3_g2=0.95494804 |
| 345 | shapecode_3_b2=0.3403639176 |
| 346 | shapecode_3_a2=0.5644850078 |
| 347 | shapecode_3_border_r=0.99845997642 |
| 348 | shapecode_3_border_g=0.996999914503 |
| 349 | shapecode_3_border_b=0.99454959616 |
| 350 | shapecode_3_border_a=0.010524872 |
| 351 | shape_3_per_frame1=x = q1; |
| 352 | shape_3_per_frame2=y = 0.5 + 0.07*sin(q3*0.5) + 0.31*cos(time*0.01*3.7); |
| 353 | shape_3_per_frame3=r = 0.5 + 0.5*sin(time*0.01*1.013 + 2); |
| 354 | shape_3_per_frame4=t = (q4-2*q5+q6)*0.2; |
| 355 | shape_3_per_frame5=c = 3; |
| 356 | shape_3_per_frame6=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 357 | shape_3_per_frame7=b2 = 0.5 + 0.5*sin(time*0.01*0.738 + 4); |
| 358 | shape_3_per_frame8=r2 = 1-r; |
| 359 | shape_3_per_frame9=g2 = 1-g; |
| 360 | per_frame_init_1=y1 = 0.5; |
| 361 | per_frame_init_2=dt = .001; |
| 362 | per_frame_init_3=x3 = 0.5; |
| 363 | per_frame_init_4=x3 = 0.5; |
| 364 | per_frame_init_5=lbass = bass_att; |
| 365 | per_frame_1=db = (bass-lbass)*fps; |
| 366 | per_frame_2=lbass = bass; |
| 367 | per_frame_3=spring = 70; |
| 368 | per_frame_4=grav = 5; |
| 369 | per_frame_5=resist = 10; |
| 370 | per_frame_6=dt = 0.0002; |
| 371 | per_frame_7=vy2 = if(below(y2,1),if(above(y2,0),vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav),abs(vy2)*bounce),-abs(vy2)*bounce); |
| 372 | per_frame_8=vx3 = if(below(x3,1),if(above(x3,0),vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring),abs(vx3)*bounce),-abs(vx3)*bounce); |
| 373 | per_frame_9=vy3 = if(below(y3,1),if(above(y3,0),vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav),abs(vy3)*bounce),-abs(vy3)*bounce); |
| 374 | per_frame_10=vx4 = if(below(x4,1),if(above(x4,0),vx4*(1-resist*dt) + dt*((x3-x4)*spring),abs(vx4)*bounce),-abs(vx4)*bounce); |
| 375 | per_frame_11=vy4 = if(below(y4,1),if(above(y4,0),vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav),abs(vy4)*bounce),-abs(vy4)*bounce); |
| 376 | per_frame_12=x2 = x2 + vx2; |
| 377 | per_frame_13=y2 = y2 + vy2; |
| 378 | per_frame_14=x3 = x3 + vx3; |
| 379 | per_frame_15=y3 = y3 + vy3; |
| 380 | per_frame_16=x4 = x4 + vx4; |
| 381 | per_frame_17=y4 = y4 + vy4; |
| 382 | per_frame_18=decay = 1; |
| 383 | per_frame_19=q7 = y4; |
| 384 | per_frame_20=q5 = sqrt(vx4*vx4 + vy4*vy4); |
| 385 | per_frame_21=q4 = x2; |
| 386 | per_frame_22=zoom = 1; |
| 387 | per_frame_23=bb = bb*0.99 + bass*0.02; |
| 388 | per_frame_24=ob_r = (bb-mn)/(mx-mn); |
| 389 | per_frame_25=mx = max(max(bb,mm),tt); |
| 390 | per_frame_26=mn = min(min(bb,mm),tt); |
| 391 | per_frame_27=q2 = atan2(vx4,vy4); |
| 392 | per_frame_28=ob_b = (mm-mn)/(mx-mn); |
| 393 | per_frame_29=q1 = sqrt(vx4*vx4 + vy4*vy4); |
| 394 | per_frame_30=q6 = atan2(vx4,vy4); |
| 395 | per_frame_31=wrap = 1; |
| 396 | per_frame_32=warp = 0; |
| 397 | per_pixel_1=dir = -q6*1 + asin(1)*1; |
| 398 | per_pixel_2=w2 = q10; |
| 399 | per_pixel_3=nx = nx-0.5; |
| 400 | per_pixel_4=ny = ny- 0.5; |
| 401 | per_pixel_5=xx = sin(nd)*nx - cos(nd)*ny; |
| 402 | per_pixel_6=yy = cos(nd)*nx + sin(nd)*ny; |
| 403 | per_pixel_7=x1 = nxx +cos(ndir+1.5708)*b1; |
| 404 | per_pixel_8=y1 = nyy -sin(ndir+1.5708)*b1; |
| 405 | per_pixel_9=t1 = 0.1; |
| 406 | per_pixel_10=y2 = nyy +sin(ndir+1.5708)*b1; |
| 407 | per_pixel_11=d1 = sqrt((x1-nx)*(x1-nx)+(y1-ny)*(y1-ny))-b1*2; |
| 408 | per_pixel_12=si1 = 1- 1/(1+pow(2,-d1*100)); |
| 409 | per_pixel_13=d2 = sqrt((x2-nx)*(x2-nx)+(y2-ny)*(y2-ny))-b1*2; |
| 410 | per_pixel_14=dy = (-si1*sin(x1-nx)*m1*d1 + si2*sin(x2-nx)*m1*d2 - si3*sin(ndir)*t1)*2/aspecty + nv*cos(ndir)*(nr-nd)*(1-sigmoid(nd-nr,280))/aspecty + nv*(ny-nyy)*(nr-nd)*(1-sigmoid(nd-nr,70))/aspecty + (-nv*(sin(nx-xx)*(nd-r)+(ny-yy)*(nd-r/2)) -sin(dir)*v2)*(1.00-sigmoid(nd-r,180))/aspecty; |
| 411 | per_pixel_15=si2 = 1- 1/(1+pow(2,-d2*100)); |
| 412 | per_pixel_16=si3 = -pow(q5,3)*10; |
| 413 | per_pixel_17=ndir = -q2*1 + asin(1)*0; |
| 414 | per_pixel_18=nyy = 1-w2; |
| 415 | warp_1=`shader_body |
| 416 | warp_2=`{ |
| 417 | warp_3=` |
| 418 | warp_4=` uv = uv - float2(0,1)*texsize.zw*0; |
| 419 | warp_5=` |
| 420 | warp_6=` float1 d = 0.024; |
| 421 | warp_7=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*1280*texsize.z; |
| 422 | warp_8=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*1024*texsize.w; |
| 423 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.05; |
| 424 | warp_10=` |
| 425 | warp_11=` |
| 426 | warp_12=` |
| 427 | warp_13=` ret.y = tex2D( sampler_fc_main, my_uv - floor(my_uv)).y; |
| 428 | warp_14=` ret.y += (ret.y - GetBlur1(my_uv - floor(my_uv)).y - 0.1)*.1 +0.02; |
| 429 | warp_15=` ret.z = (tex2D(sampler_main, uv_orig).y - ret.y)*4 + 0.5; |
| 430 | warp_16=`//ret = 0; |
| 431 | warp_17=` |
| 432 | warp_18=`} |
| 433 | comp_1=`shader_body |
| 434 | comp_2=`{ |
| 435 | comp_3=` ret = tex2D(sampler_main, uv).xyz; |
| 436 | comp_4=` ret *= 1.00; //gamma |
| 437 | comp_5=`} |